<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>eudev</Name>
        <Homepage>https://github.com/gentoo/eudev/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>console</IsA>
        <Summary>eudev is a fork of system-udev</Summary>
        <Description>eudev is a fork of system-udev with the goal of obtaining better compatibility with existing software such as OpenRC and Upstart, older kernels, various toolchains and anything else required by users and various distributions.</Description>
        <Archive sha1sum="f84fba92bd1dd6c49ee0054ae336862e38cea46b" type="targz">https://github.com/gentoo/eudev/archive/v3.2.11.tar.gz</Archive>
        <AdditionalFiles>
        <!-- http://www.linuxfromscratch.org/lfs/view/development/chapter06/eudev.html -->
            <AdditionalFile target="config.cache">config.cache</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>glibc-devel</Dependency>
            <Dependency>libkmod-devel</Dependency>
            <Dependency versionFrom="2.38.1">libutil-linux-devel</Dependency>
<!--             <Dependency>libpcre-devel</Dependency> -->
            <Dependency>libxslt-devel</Dependency>
            <Dependency>gperf</Dependency>
            <Dependency>intltool</Dependency>
        </BuildDependencies>
        <!--Patches>
            <Patch>upstream.patch</Patch>
        </Patches-->
    </Source>

    <Package>
        <Name>eudev</Name>
        <RuntimeDependencies>
            <Dependency>libkmod</Dependency>
            <Dependency>libutil-linux</Dependency>-
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/bin</Path>
            <Path fileType="executable">/sbin</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="executable">/lib/udev</Path>
            <Path fileType="library">/lib</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="config">/etc</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/udev.conf</Path>
            <Path fileType="data">/run/udev</Path>
            <Path fileType="data">/lib/systemd</Path>
            <Path fileType="data">/etc/udev/rules.d</Path>
            <Path fileType="data">/lib/udev/rules.d</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/udev.conf">tmpfiles.conf</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>eudev-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for eudev</Summary>
        <RuntimeDependencies>
            <Dependency release="current">eudev</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/share/pkgconfig</Path> <!-- check this path usr/share/pkgconfig -->
        </Files>
    </Package>

    <Package>
        <Name>eudev-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for eudev</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>libkmod-32bit</Dependency>
            <Dependency>libutil-linux-32bit</Dependency>
        </BuildDependencies>
        <Files>
            <Path fileType="library">/lib32</Path>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="18">
            <Date>2023-01-28</Date>
            <Version>3.2.11</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2022-09-25</Date>
            <Version>3.2.11</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2022-08-17</Date>
            <Version>3.2.11</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2022-07-21</Date>
            <Version>3.2.10</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2021-06-12</Date>
            <Version>3.2.10</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2021-02-17</Date>
            <Version>3.2.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2020-04-20</Date>
            <Version>3.2.8</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2019-12-25</Date>
            <Version>3.2.8</Version>
            <Comment>Version bump</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2018-11-28</Date>
            <Version>3.2.5</Version>
            <Comment>add intltool builddep.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2018-07-15</Date>
            <Version>3.2.5</Version>
            <Comment>Rebuild</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2017-12-01</Date>
            <Version>3.2.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2017-09-06</Date>
            <Version>3.2.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2017-01-26</Date>
            <Version>3.2.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2016-12-30</Date>
            <Version>3.2.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2016-07-23</Date>
            <Version>3.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-15</Date>
            <Version>3.1.5</Version>
            <Comment>Fix grub2 uuid issue </Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>3.1.5</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-05</Date>
            <Version>3.1.5</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
